package com.ant.storage.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("other_out_commodity")
@ApiModel(value="其他出库与商品中间表")
public class OtherOutCommodity {

    @ApiModelProperty(value = "id")
    @TableField("other_out_commodity_id")
    private Integer other_out_commodity_id;

    @ApiModelProperty(value = "其他出库数量")
    @TableField("warehouse_out_number")
    private Integer warehouse_out_number;

    @TableField(exist = false)
    private Commodity commodity;

    @TableField(exist = false)
    private Warehouse warehouse;
}
